/// @Classname : HcEmptyPage
/// @Author :
/// @Time : 2024/3/30 13:04
/// @Description : //todo
/// @Version 1.0
import 'package:flutter/material.dart';
import 'package:hc_ui/config/hc_customer_config.dart';
import 'package:hc_ui/theme/hc_common_theme.dart';
import 'package:hc_ui/widget/empty/hc_empty.dart';

class HcEmptyPage extends StatelessWidget {
  const HcEmptyPage({super.key});

  @override
  Widget build(BuildContext context) {
    HcCommonTheme commonTheme = HcCustomerConfig().allTheme.commonTheme;
    return Scaffold(
        backgroundColor: commonTheme.fillPageColor,
        appBar: AppBar(
          title: Text("HcEmptyPage"),
        ),
        body: HcEmpty(
          imageUlr: 'assets/images/icon.jpeg',
          titleText: "出错了哦",
          descriptionText: "不如点击xxxx查看详情",
          primaryBtnText: "确定",
          secondaryBtnText: "取消",
        ));
  }
}
